﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Page.Master" AutoEventWireup="true" CodeBehind="SearchEmp.aspx.cs" Inherits="HealthInsuranceMgm.Admin.SearchEmp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <form id="frmEmp" runat="server">
 <fieldset>
        <legend>Detail Search</legend>
        <table>
        <tr> 
<%--        <td>EmpNo:</td>
        <td><asp:TextBox ID="txtempno" runat="server"></asp:TextBox></td>--%>
        <td> Name:</td>
        <td>
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
        <td>Address:</td>
        <td><asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
       
        <td>Designation:</td>
        <td><asp:TextBox ID="txtdesignation" runat="server"></asp:TextBox></td>
        <td style="width: 85px"> 
            <asp:Button ID="btnsearch" runat="server" Text="Search" 
                onclick="btnsearch_Click" /></td>
        </tr>
    </table>
   
        

    </fieldset>
    <fieldset>
        <legend>Search Result</legend>
       <asp:GridView ID="grvEmp" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="EmpNo"
        
                BorderColor="#CCCCCC" BorderStyle="Solid">
        <Columns>
            <asp:BoundField DataField="EmpNo" HeaderText="EmpNO" 
                SortExpression="EmpNo" />
                <asp:BoundField DataField="Designation" HeaderText="Designation" />
            <asp:BoundField DataField="Joindate" HeaderText="Joindate" />
            <asp:BoundField DataField="Salary" HeaderText="Salary" />
            <asp:BoundField DataField="FirstName" HeaderText="FirstName" />
            <asp:BoundField DataField="LastName" HeaderText="LastName" />
              <asp:BoundField DataField="UserName" HeaderText="UserName" />
                
                  <asp:BoundField DataField="Address" HeaderText="Address" />
            <asp:BoundField DataField="ContactNo" HeaderText="ContactNo" />
              <asp:BoundField DataField="State" HeaderText="State" />
                <asp:BoundField DataField="Country" HeaderText="Country" />
                  <asp:BoundField DataField="City" HeaderText="City" />
            
              
            
        </Columns>
                

    </asp:GridView>
    </fieldset>
    </form>
</asp:Content>
